table {
  width: 1000px;
  border-collapse: collapse;
}

th {
  position: relative;
  background-color: #f2f2f2;
  padding: 8px;
}

.line {
  position: absolute;
  top: 0;
  bottom: 0;
  padding: 0 5px;
  right: -6px;
  cursor: col-resize;
  z-index: 1;
  .line-box{
    width: 2px;
    height: 100%;
    background-color: #ccc;
  }
}

td {
  border: 1px solid #ddd;
  padding: 8px;
}
